package com.manning.readinglist;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@Controller
@RequestMapping("/Elab")
public class LabMainController {

    private CalendarRepository calendarRepository;
    LabMainController(CalendarRepository calendarRepository)
    {
        this.calendarRepository=calendarRepository;
    }

    //重定向

    @RequestMapping(value = "/main",method = RequestMethod.GET)
    public String showMain()
    {

        return "main";
    }
    @RequestMapping(value = "/applicationManage",method = RequestMethod.GET)
    public String showApplicationManage()
    {
        return "applicationManage";
    }



}
